import './App.css';
import React from 'react';
import { useState } from 'react';




function App(){
  const [text,setText]=useState('')
 
  console.log(text);
   return (
    <div>
      <input value={text} onChange={e=>setText(e.target.value)}/>
      
    </div>
   )
}

export default App;
